package edu.aynu.service.impl;

import edu.aynu.dao.UserRoleDao;
import edu.aynu.entity.User_Role;
import edu.aynu.service.UserRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created with IntelliJ IDEA.
 * User: 清视°
 * Date: 2021/6/19  18:01
 * Description: 1、
 * “          ” 2、
 */
@Service
public class UserRoleImpl implements UserRoleService {
    @Resource
    private UserRoleDao userRoleDao;
    @Override
    public int addRole(User_Role userRole) {
        return userRoleDao.addRole(userRole);
    }
}
